package com.meiyu.live.net.param;

import android.text.TextUtils;

import com.meiyu.live.comm.UserConfig;

public class BaseBodyParams {

    /**
     * 请求的
     *
     * @return
     */
    protected String session_token;

    protected transient String url = "";

    public BaseBodyParams() {
        this.session_token = TextUtils.isEmpty(UserConfig.getInstance().getSession_token()) ? null : UserConfig.getInstance().getSession_token();
    }
    public BaseBodyParams(String url) {
        this.session_token = TextUtils.isEmpty(UserConfig.getInstance().getSession_token()) ? null : UserConfig.getInstance().getSession_token();
        this.url = url;
    }

    public String getSession_token() {
        return session_token;
    }

    public void setSession_token(String session_token) {
        this.session_token = session_token;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

}
